package com.yonyou.cyxdms.basedata.service.entity.sap;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonyou.cyxdms.framework.bean.entity.base.DMSBasePO;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author <a href="https://www.fengwenyi.com?code">Erwin Feng</a>
 * @since 2022-06-07
 */
@Getter
@Setter
@TableName("ti_dealer_to_sap")
public class DealerToSapPO extends DMSBasePO<DealerToSapPO> implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("BATCH_NO")
    private String batchNo;

    @TableField("REQUEST_KEY")
    private String requestKey;

    @TableField("REQUEST_BODY")
    private String requestBody;

    @TableField("RESPONSE_BODY")
    private String responseBody;

    @TableField("EXCEPTION_MESSAGE")
    private String exceptionMessage;

    @TableField("RETRY_COUNT")
    private Integer retryCount;

    /**
     * 创建人
     */
    @TableField("CREATED_BY")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField("CREATED_AT")
    private LocalDateTime createdAt;

    /**
     * 修改人
     */
    @TableField("UPDATED_BY")
    private String updatedBy;

    /**
     * 修改时间
     */
    @TableField("UPDATED_AT")
    private LocalDateTime updatedAt;

    /**
     * 记录版本号
     */
    @TableField("RECORD_VERSION")
    private Integer recordVersion;


}
